using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;


namespace Data.DataSources {
	public class State_Group_AccessDataSource : ObjectDataSourceBase {
		public override string SelectViewName { get { return "v_State_Group_Access"; } }
		public override string InsertViewName { get { return "t_State_Group_Access"; } }
		public State_Group_AccessDataSource() {
			SelectIDFieldName = "StateID";
			OrderBy.Add("StateFlowPos");
		}
		public void DeleteEx(int StateID, object principal_id, int StateAccessID) {
			Delete("StateID=@StateID AND principal_id=@pid AND StateAccessID=@StateAccessID",
				StateID, principal_id, StateAccessID);
		}
	}
}